What is the purpose of the `map()` function for arrays?
The map() function is used to create a new array by applying a given function to each element of the original array. It's a convenient way to transform elements without modifying the original array.